From 383d6a16831a449e8dc942d48981442fcc1f0f20 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 29 Oct 2002 23:40:47 +0000 Subject: [PATCH] (replace-regexp-in-string): Doc fix. --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index 857c6134719..17ca52c6292 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1790,7 +1790,7 @@ point are such that match 0 is the function's argument. To replace only the first match (if any), make REGEXP match up to \\' and replace a sub-expression, e.g. - (replace-regexp-in-string \"\\(foo\\).*\\'\" \"bar\" \" foo foo\" nil nil 1) + (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\'\" \"bar\" \" foo foo\" nil nil 1) => \" bar foo\" " -- 2.30.2